package com.whut.model;

import java.io.Serializable;
import java.time.LocalDateTime;

public class ProjectBuild implements Serializable, Comparable {

    private Integer id;

    /**
     * 项目id
     */
    private Integer projectId;

    private String build;

    /**
     * 层数
     */
    private Integer floorNum;

    /**
     * 户数
     */
    private Integer familyNum;

    /**
     * 标准层
     */
    private Integer standardFloorNum;

    /**
     * 桩基个数
     */
    private Integer pileNum;

    /**
     * 混凝土施工层数
     */
    private Integer betonConstructionFloorNum;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

    /**
     * 最后更新时间
     */
    private LocalDateTime lastModifiedTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public String getBuild() {
        return build;
    }

    public void setBuild(String build) {
        this.build = build;
    }

    public Integer getFloorNum() {
        return floorNum;
    }

    public void setFloorNum(Integer floorNum) {
        this.floorNum = floorNum;
    }

    public Integer getFamilyNum() {
        return familyNum;
    }

    public void setFamilyNum(Integer familyNum) {
        this.familyNum = familyNum;
    }

    public Integer getStandardFloorNum() {
        return standardFloorNum;
    }

    public void setStandardFloorNum(Integer standardFloorNum) {
        this.standardFloorNum = standardFloorNum;
    }

    public Integer getPileNum() {
        return pileNum;
    }

    public void setPileNum(Integer pileNum) {
        this.pileNum = pileNum;
    }

    public Integer getBetonConstructionFloorNum() {
        return betonConstructionFloorNum;
    }

    public void setBetonConstructionFloorNum(Integer betonConstructionFloorNum) {
        this.betonConstructionFloorNum = betonConstructionFloorNum;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public LocalDateTime getLastModifiedTime() {
        return lastModifiedTime;
    }

    public void setLastModifiedTime(LocalDateTime lastModifiedTime) {
        this.lastModifiedTime = lastModifiedTime;
    }

    @Override
    public int compareTo(Object o) {
        return o.hashCode() - hashCode();
    }
}
